package com.xky.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 库存实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Inventory {
private Integer inventoryId;//库存记录ID
private Integer productId ;//商品ID
private Integer warehouseId;//仓库ID
private Integer quantity;//当前库存数量
private Integer allocatedQuantity;//已分配数量
private String locationCode;//库位编码
private String batchNumber;//批次号
private LocalDateTime expiryDate;//过期日期
private LocalDateTime lastStockUpdate;//最后库存更新时间
private LocalDateTime createdTime;//创建时间
private LocalDateTime updatedTime;//更新时间
}
